package net.ericaro.neojavagen.blocks ;
import net.ericaro.neojavagen.types.Identifier;
import net.ericaro.neojavagen.blocks.Statement ;

/**
* *<pre> LabeledStatement :
    Identifier : Statement
</pre>
*/
public class LabeledStatement  implements Statement {

Identifier identifier;
Statement statement ;

public LabeledStatement( Identifier identifier, Statement statement ){
	this.identifier = identifier; this.statement = statement ;
	}


public String toString(){
	StringBuilder stringbuilder = new StringBuilder();
	stringbuilder.append( this.identifier ).append(" ");
stringbuilder.append( ":" ).append(" ");
stringbuilder.append( this.statement ).append(" ") ;
	return stringbuilder.toString();
}

}
